package com.payment.system.domain;

import com.payment.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.payment.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 卡类型表 hatchet_card_type
 * 
 * @author payment
 * @date 2018-12-27
 */
public class CardType extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String iD;
	/** 名称 */
	@Excel(name = "名称")
	private String cardName;
	/** 卡组织 */
	@Excel(name = "卡组织")
	private BigDecimal cardOrganize;
	/** 编码 */
	@Excel(name = "编码")
	private Integer cardBitCode;
	/** 简称 */
	@Excel(name = "简称")
	private String cardShortName;
	/** 费率 */
	@Excel(name = "费率")
	private BigDecimal rATE;
	/** 手续费 */
	@Excel(name = "手续费")
	private Integer maxFee;

	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setCardName(String cardName) 
	{
		this.cardName = cardName;
	}

	public String getCardName() 
	{
		return cardName;
	}
	public void setCardOrganize(BigDecimal cardOrganize) 
	{
		this.cardOrganize = cardOrganize;
	}

	public BigDecimal getCardOrganize() 
	{
		return cardOrganize;
	}
	public void setCardBitCode(Integer cardBitCode) 
	{
		this.cardBitCode = cardBitCode;
	}

	public Integer getCardBitCode() 
	{
		return cardBitCode;
	}
	public void setCardShortName(String cardShortName) 
	{
		this.cardShortName = cardShortName;
	}

	public String getCardShortName() 
	{
		return cardShortName;
	}
	public void setRATE(BigDecimal rATE) 
	{
		this.rATE = rATE;
	}

	public BigDecimal getRATE() 
	{
		return rATE;
	}
	public void setMaxFee(Integer maxFee) 
	{
		this.maxFee = maxFee;
	}

	public Integer getMaxFee() 
	{
		return maxFee;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("cardName", getCardName())
            .append("cardOrganize", getCardOrganize())
            .append("cardBitCode", getCardBitCode())
            .append("cardShortName", getCardShortName())
            .append("rATE", getRATE())
            .append("maxFee", getMaxFee())
            .toString();
    }
}
